package com.xoa.dao.document;

import java.util.List;

import com.xoa.model.document.SysRuleModel;

public interface SysRuleModelMapper {

	int saveSysRule(SysRuleModel sysRule);

	int deleteSysRule(SysRuleModel sysRule);

	int updateRuleById(SysRuleModel sysRule);

	SysRuleModel getRuleById(SysRuleModel sysRule);

	SysRuleModel getRuleByCode(SysRuleModel sysRule);

	List<SysRuleModel> getRuleAll(SysRuleModel sysRule);

	int updateRunIdById(SysRuleModel sysRule);
}
